/*
 * Public libusb header file
 * Copyright (c) 2010 Chen Wang  <cnnbboy@163.com>
 *
 * This software is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef QDNWUSBDEVICEMANAGER_H
#define QDNWUSBDEVICEMANAGER_H

#include <QObject>

class libusb_device;
class libusb_context;
class libusb_device_handle;
class libusb_device_descriptor;

class QDnwUsbDeviceManager : public QObject
{
    Q_OBJECT
public:
    explicit QDnwUsbDeviceManager(QObject *parent = 0);
    ~QDnwUsbDeviceManager();

     void QDnwUsbDeviceManager_SetSmdkType();
private:
    libusb_device **devs;
    libusb_context *ctx;
    libusb_device_handle *devHandle;

signals:

public slots:
    void QDnwUsbDeviceManager_FindSmdkType();
    //void QDnwUsbDeviceManager_BulkTransfer();
};

#endif // QDNWUSBDEVICEMANAGER_H
